﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Org.SpmisFramework.Protocols
{
    /// <summary>
    /// 结果数据包装接口
    /// </summary>
    public interface IResult
    {
        /// <summary>
        /// 错误编码
        /// </summary>
        int ErrorCode { get; }

        /// <summary>
        /// 错误信息（可选参数）
        /// </summary>
        string ErrorMsg { get; }
    }
}
